﻿/***********************************************************************
 * CLR 版本: 4.0.30319.225
 * 工程名称: $projectname$
 * 命名空间: Toulr.Models.Shop
 * 文件名称: HotShopModel
 * 描    述: 热门店铺模型
 * 作    者: 18901309129@189.cn
 * 登录用户: hyyu
 * 创建时间: 2011-6-14 19:29:34
 * 创建年份: 2011
 * Update History: 
 ***********************************************************************/

namespace Toulr.Models.Shop
{
    /// <summary>
    /// 热门店铺模型
    /// </summary>
    public class HotShopModel
    {
        public HotShopModel(int shopId,string shopName,int shareInCount,int criticismCount,float grade)
        {
            CriticismCount = criticismCount;
            Grade = grade;
            ShareInCount = shareInCount;
            ShopName = shopName;
            ShopId = shopId;
        }

        /// <summary>
        /// 店铺ID
        /// </summary>
        public int ShopId { get; set; }

        /// <summary>
        /// 店铺名称
        /// </summary>
        public string ShopName { get; set; }

        /// <summary>
        /// 被分享次数
        /// </summary>
        public int ShareInCount { get; set; }

        /// <summary>
        /// 评论次数
        /// </summary>
        public int CriticismCount { get; set; }

        /// <summary>
        ///  综合得分
        /// </summary>
        public float Grade { get; set; }
    }
}
